package com.qf.dto;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.qf.base.BaseDao;

import java.io.Serializable;

@TableName("admin_module")
public class AdminModule extends BaseDao {

  /**功能名称**/
  @TableField("name")
  private String name;

  /**请求路径**/
  @TableField("url")
  private String url;

  /**排序编号**/
  @TableField("order_num")
  private Long orderNum;

  /**上级功能。如果没有上级,则为0**/
  @TableField("parent_id")
  private Long parentId;





  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }


  public Long getOrderNum() {
    return orderNum;
  }

  public void setOrderNum(Long orderNum) {
    this.orderNum = orderNum;
  }

  public Long getParentId() {
    return parentId;
  }

  public void setParentId(Long parentId) {
    this.parentId = parentId;
  }
}
